Refresh patches
authorBoyuan Yang <byang@debian.org>
Sun, 28 Jul 2024 23:40:12 +0000 (19:40 -0400)
committerBoyuan Yang <byang@debian.org>
Sun, 28 Jul 2024 23:50:03 +0000 (19:50 -0400)
debian/changelog
debian/patches/0001-use-cmake-install-libdir.patch
debian/patches/0003-data-Explicitly-use-python3.patch
debian/patches/0004-no-remote-images-when-reading-docs-on-disk.patch
debian/patches/0005-Use-system-googletest.patch

index b353e63852de51a35de9b3f8e1840b2e0f14c78d..64769aa9be723e7819f024ad5e12d888cff1038d 100644 (file)
@@ -2,8 +2,9 @@ opencc (1.1.8+ds1-1) unstable; urgency=medium
 
   * New upstream release.
   * debian/copyright: Update information.
+  * debian/patches: Refresh patches.
 
- -- Boyuan Yang <byang@debian.org>  Sun, 28 Jul 2024 19:38:09 -0400
+ -- Boyuan Yang <byang@debian.org>  Sun, 28 Jul 2024 19:40:00 -0400
 
 opencc (1.1.7+ds1-1) unstable; urgency=medium
 
index 6743dca1a4c673cca42fa5e7872eeda975cca91e..a91c95e0c611a332d01520377fb7afe11413da64 100644 (file)
@@ -4,13 +4,13 @@ Subject: use-cmake-install-libdir
 
 Update 2021-09-18: Also use GNUInstallDirs.
 
-Last-Update: 2022-12-10
+Last-Update: 2024-07-28
 ---
  CMakeLists.txt | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ee08591..46b3be9 100644
+index 3393613..6db5fa1 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -21,6 +21,7 @@ cmake_minimum_required(VERSION 3.5)
@@ -22,10 +22,10 @@ index ee08591..46b3be9 100644
  ######## Options
  option(BUILD_DOCUMENTATION "Use Doxygen to create the HTML based API documentation" OFF)
 @@ -82,7 +83,7 @@ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX})
- set (DIR_INCLUDE ${DIR_PREFIX}/include/)
- set (DIR_SHARE ${DIR_PREFIX}/share/)
- set (DIR_ETC ${DIR_PREFIX}/etc/)
--set (DIR_LIBRARY ${DIR_PREFIX}/lib${LIB_SUFFIX}/)
+ set (DIR_INCLUDE ${DIR_PREFIX}/include)
+ set (DIR_SHARE ${DIR_PREFIX}/share)
+ set (DIR_ETC ${DIR_PREFIX}/etc)
+-set (DIR_LIBRARY ${DIR_PREFIX}/lib${LIB_SUFFIX})
 +set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR})
  
  if (DEFINED SHARE_INSTALL_PREFIX)
index 2388a8d13f4609c99a95ded7e7ada2cabff7b214..2e4d3acc829554f7c497996c85ab9b7a2565d6c4 100644 (file)
@@ -54,7 +54,7 @@ index f7d4dc5..6ad6e8c 100755
  import sys
  
 diff --git a/data/scripts/sort_all.py b/data/scripts/sort_all.py
-index 20d82fd..11bc4c9 100755
+index bd57ae7..c742413 100755
 --- a/data/scripts/sort_all.py
 +++ b/data/scripts/sort_all.py
 @@ -1,4 +1,4 @@
index d1a2ae2acf7205e40bdf8d5ad998813dfa4a6990..8a4c445268c567b04adc2da1d41871719b9afb02 100644 (file)
@@ -1,37 +1,29 @@
 From: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
-Date: Sat, 6 Mar 2021 17:45:20 +0800
+Date: Sun, 28 Jul 2024 19:42:55 -0400
 Subject: Don't fetch remote images when reading docs on disk
 
-Forwarded: no
-Last-Update: 2021-09-18
-
 This fixes a privacy breach previously reported as Lintian warnings
+
+Forwarded: not-needed
+Last-Update: 2024-07-28
 ---
- README.md | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
+ README.md | 7 -------
+ 1 file changed, 7 deletions(-)
 
 diff --git a/README.md b/README.md
-index 7225e01..dbb7fb4 100644
+index e4edffb..cc22afd 100644
 --- a/README.md
 +++ b/README.md
-@@ -1,14 +1,14 @@
+@@ -1,12 +1,5 @@
  # Open Chinese Convert 開放中文轉換
  
--[![Travis](https://img.shields.io/travis/BYVoid/OpenCC.svg)](https://travis-ci.org/BYVoid/OpenCC)
--[![AppVeyor](https://img.shields.io/appveyor/ci/Carbo/OpenCC.svg)](https://ci.appveyor.com/project/Carbo/OpenCC)
--[![C/C++ CI](https://github.com/BYVoid/OpenCC/actions/workflows/cmake.yml/badge.svg)](https://github.com/BYVoid/OpenCC/actions/workflows/cmake.yml)
+-[![CMake](https://github.com/BYVoid/OpenCC/actions/workflows/cmake.yml/badge.svg)](https://github.com/BYVoid/OpenCC/actions/workflows/cmake.yml)
+-[![Bazel](https://github.com/BYVoid/OpenCC/actions/workflows/bazel.yml/badge.svg)](https://github.com/BYVoid/OpenCC/actions/workflows/bazel.yml)
+-[![MSVC](https://github.com/BYVoid/OpenCC/actions/workflows/msvc.yml/badge.svg)](https://github.com/BYVoid/OpenCC/actions/workflows/msvc.yml)
 -[![Node.js CI](https://github.com/BYVoid/OpenCC/actions/workflows/nodejs.yml/badge.svg)](https://github.com/BYVoid/OpenCC/actions/workflows/nodejs.yml)
 -[![Python CI](https://github.com/BYVoid/OpenCC/actions/workflows/python.yml/badge.svg)](https://github.com/BYVoid/OpenCC/actions/workflows/python.yml)
-+[[Travis](https://travis-ci.org/BYVoid/OpenCC)]
-+[[AppVeyor](https://ci.appveyor.com/project/Carbo/OpenCC)]
-+[[C/C++ CI](https://github.com/BYVoid/OpenCC/actions/workflows/cmake.yml)]
-+[[Node.js CI](https://github.com/BYVoid/OpenCC/actions/workflows/nodejs.yml)]
-+[[Python CI](https://github.com/BYVoid/OpenCC/actions/workflows/python.yml)]
+-[![AppVeyor](https://img.shields.io/appveyor/ci/Carbo/OpenCC.svg)](https://ci.appveyor.com/project/Carbo/OpenCC)
+-
  ## Introduction 介紹
  
--![OpenCC](https://opencc.byvoid.com/img/opencc.png)
-+OpenCC
- Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversions between Traditional Chinese, Simplified Chinese and Japanese Kanji (Shinjitai). It supports character-level and phrase-level conversion, character variant conversion and regional idioms among Mainland China, Taiwan and Hong Kong. This is not translation tool between Mandarin and Cantonese, etc.
+ ![OpenCC](https://opencc.byvoid.com/img/opencc.png)
index 9a6da9db8dc5165da3beeab97d72c3516dc828a3..2309815998c5e31dc9acb45dcc3453acd719b0ee 100644 (file)
@@ -1,21 +1,21 @@
 From: Shengjing Zhu <zhsj@debian.org>
-Date: Sat, 6 Mar 2021 17:53:25 +0800
+Date: Sun, 28 Jul 2024 19:44:27 -0400
 Subject: Use system googletest
 
 Forwarded: not-needed
-Last-Update: 2022-12-10
+Last-Update: 2024-07-28
 ---
  CMakeLists.txt | 2 ++
  1 file changed, 2 insertions(+)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 76c2b69..5f9cdcf 100644
+index 6db5fa1..fcdedeb 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -206,6 +206,8 @@ add_subdirectory(test)
+@@ -231,6 +231,8 @@ add_subdirectory(test)
  if (ENABLE_GTEST)
    if(NOT USE_SYSTEM_GTEST)
-     add_subdirectory(deps/gtest-1.12.1)
+     add_subdirectory(deps/googletest-1.15.0)
 +  else()
 +    add_subdirectory(/usr/src/googletest/googletest ${CMAKE_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL)
    endif()